package go176.net.pointssupport;

import org.black_ixx.playerpoints.PlayerPoints;
import org.black_ixx.playerpoints.PlayerPointsAPI;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class PointsSupport extends JavaPlugin {

    private PlayerPointsAPI ppAPI;

    @Override
    public void onEnable() {
        // Plugin startup logic
        if (Bukkit.getPluginManager().isPluginEnabled("PlayerPoints")) {
            this.ppAPI = PlayerPoints.getInstance().getAPI();
        } else { Bukkit.shutdown(); }

        if (this.ppAPI != null) {

        }
    }

    @Override
    public void onDisable() {
        // Plugin shutdown logic
    }
}
